// 导入定义验证规则的包
const Joi = require("joi");
const score = Joi.string()
  .min(1)
  .required()
  .error(new Error("请填写正确的分数"));

exports.reg_score_schema = {
  query: {
    score,
  },
};
